<template>
    <el-container class="systemConfig">
        <el-aside width="200px" class="robotAside">
            <el-scrollbar style="height: 100%">
                <menu-list :menuList="menuArr" rootPath="systemConfig" />
            </el-scrollbar>
        </el-aside>
        <el-main class="robotMain">
            <router-view :key="$route.path"></router-view>
        </el-main>
    </el-container>
</template>

<script>
import menuList from "@/components/menuList";
export default {
    name: "systemConfig",
    data() {
        return {
            menuArr: [
                {
                    name: "系统配置",
                    menuCode: "M5",
                    children: [
                        {
                            name: "企业信息",
                            menuCode: "M20",
                            path: "/systemConfig/enterpriseInfo",
                        },
                        {
                            name: "账号管理",
                            menuCode: "M21",
                            path: "/systemConfig/accountManage",
                        },
                        {
                            name: "操作日志",
                            menuCode: "M22",
                            path: "/systemConfig/operationLog",
                        },
                        {
                            name: "组织架构",
                            menuCode: "M9999",
                            path: "/systemConfig/api",
                        },
                    ],
                }
            ],
        };
    },
    mounted() { },
    components: {
        menuList,
    },
};
</script>

<style  lang="scss"></style>